// 会员管理相关类型定义

export interface Member {
    id: string;
    name: string;
    account: string;
    vipLevel: number;
    userType: number;
    userTypeName: string;
    registerTime: string;
    lastLoginTime: string;
    phone: string;
    location: string;
    password?: string;
    wechatOpenId?: string;
    avatar?: string;
    nickname?: string;
    birthDate?: string;
    interests?: string[];
    status: number;
    statusName: string;
    createTime: string;
    updateTime: string;
    createBy: string;
    updateBy: string;
    memberLevelId?: string;
    memberLevelName?: string;
    totalEnergy?: number;
    currentEnergy?: number;
    inviteCode?: string;
    inviterId?: string;
    inviterName?: string;
}

export interface MemberQueryParams {
    current?: number;
    size?: number;
    phone?: string;
    level?: string;
    status?: string;
    startDate?: string;
    endDate?: string;
}

export interface MemberPageResponse {
    records: Member[];
    total: number;
    current: number;
    size: number;
    pages: number;
}
